#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	char op;
	double a, s1, s2, r;
	scanf("%lf %c %lf", &s1, &op, &s2);
	a = 0;
	switch (op)
	{
	case '+':
		r = s1 + s2; break;
	case '-':
		r = s1 - s2;
		break;
	case '*':
		r = s1 * s2; break;
	case '/':
		if (fabs(s2) > 1e-10)
			r = s1 / s2; else a = 1; break;
	}
	if (a ==0)
		printf("%.2f", r);
	else printf("wrong input\n");
	return 0;
}